﻿using System;
using System.Net;

namespace VidoopSecure
{
    /// <summary>
    /// Http status codes returned from VidoopSecure web services.
    /// </summary>
    /// <remarks>Refer to the API documentation at 
    /// https://api.vidoop.com/static/ws.html for further details 
    /// on the web service API.</remarks>
    /// <seealso cref="VidoopSecure" />
    public enum HttpStatus
    {
        Accepted = HttpStatusCode.Accepted,                         // 202
        Ambiguous = HttpStatusCode.Ambiguous,                       // 300
        BadRequest = HttpStatusCode.BadRequest,                     // 400
        Created = HttpStatusCode.Created,                           // 201
        Gone = HttpStatusCode.Gone,                                 // 410
        InternalServerError = HttpStatusCode.InternalServerError,   // 500
        NotFound = HttpStatusCode.NotFound,                         // 404
        NotImplemented = HttpStatusCode.NotImplemented,             // 501
        OK = HttpStatusCode.OK,                                     // 200
        Unauthorized = HttpStatusCode.Unauthorized,                 // 401
        AuthenticationFailed = 430,
        CannotRetry = 409
    }
}
